let app = getApp()
Component({
    properties: {
      item: {
        type:Object
      },
      listStyle:String,
      lowerData: {
        type: Array,
        observer: function(newVal, oldVal) {
          this.updateRate()
        }
      }
      },
      data:{
      
      },
    lifetimes: {
        attached: function () {
           
       }
      },
    methods: {
      home:function(e){
        const  id=e.currentTarget.dataset.id;
         wx.redirectTo({
           url: '/yb_shopv2/entry/video-market/index?id='+id,
         })
      },
      updateRate:function(){
          var listArr=this.data.lowerData
          this.setData({
            listArr:listArr
          })
      }
    }
});
